<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
    <head>
        <title></title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <base href="<?= base_url(1); ?>" />
        <link type="text/css" href="css/main.css?v=<?= $config['version'] ?>" rel="stylesheet" />
    </head>
    <body>
        <?php include(VIEWPATH . 'common/main_header.php'); ?>
        <div class="datalist"><table id="flexigrid" style="display:none"></table></div>
        <script type="text/javascript">
            $(function() {
                $("#flexigrid").flexigrid($.extend(SG.flexOptions, {
                    url: '<?= site_url('log_backup/roleinfo/flexigrid') ?>',
                    colModel: 
                    [
						{display: '<?= translate('LOG_BACKUP_ID') ?>', name: 'id', width: '100'},
						{display: '<?= translate('LOG_BACKUP_ROLEID') ?>', name: 'roleid', width: '100'},
						{display: '<?= translate('LOG_BACKUP_ACCOUNTID') ?>', name: 'accountid', width: '100'},
						{display: '<?= translate('LOG_BACKUP_SERVERID') ?>', name: 'serverid', width: '100'},
						{display: '<?= translate('LOG_BACKUP_ROLENAME') ?>', name: 'name', width: '100'},
						{display: '<?= translate('LOG_BACKUP_PROFESSION') ?>', name: 'profession', width: '100'},
						{display: '<?= translate('LOG_BACKUP_LEVEL') ?>', name: 'level', width: '100'},
						{display: '<?= translate('LOG_BACKUP_ROLEINFO_EXP') ?>', name: 'exp', width: '100'},
						{display: '<?= translate('LOG_BACKUP_ROLEINFO_HEADFRAME') ?>', name: 'headframe', width: '100'},
						{display: '<?= translate('LOG_BACKUP_ROLEINFO_FIGHTVALUE') ?>', name: 'fightvalue', width: '100'},
						{display: '<?= translate('LOG_BACKUP_ROLEINFO_GOLD') ?>', name: 'gold', width: '100'},
						{display: '<?= translate('LOG_BACKUP_ROLEINFO_DIAMOND') ?>', name: 'diamond', width: '100'},
						{display: '<?= translate('LOG_BACKUP_ROLEINFO_TIREDVALUE') ?>', name: 'tiredvalue', width: '100'},
						{display: '<?= translate('LOG_BACKUP_ROLEINFO_EXV') ?>', name: 'exv_now', width: '100'},
						{display: '<?= translate('LOG_BACKUP_ROLEINFO_HONOURVALUE') ?>', name: 'honourvalue', width: '100'},
						{display: '<?= translate('LOG_BACKUP_ROLEINFO_SMELTVALUE') ?>', name: 'smeltvalue', width: '100'},
						{display: '<?= translate('LOG_BACKUP_ROLEINFO_GLORYVALUE') ?>', name: 'gloryvalue', width: '100'},
						{display: '<?= translate('LOG_BACKUP_ROLEINFO_TOTALONLINETIME') ?>', name: 'totalonlinetime', width: '100'},
						{display: '<?= translate('LOG_BACKUP_ROLEINFO_CREATETIME') ?>', name: 'createtime', width: '150'},
						{display: '<?= translate('LOG_BACKUP_OPERATIONTIME') ?>', name: 'operation_time', width: '150'},
                    ],
		    		buttons: [{name: 'export', displayname: "<?= translate('EXPORT') ?>", bclass: 'export', onpress: multi},,{separator: true}],
                }));                
            });
        </script>
    </body>
</html>